CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

include_directories(${COMN_DIR}/include)
include_directories(${PROJECT_ROOT}/dbpool)

link_directories(${PROJECT_ROOT}/lib)
link_directories(${COMN_DIR}/lib)

include_directories(${SOCI_INCLUDE_DIR})
link_directories(${SOCI_LIBRARY_DIR})

aux_source_directory(. DEMO_SOURCES)

add_executable(DemoDbPool ${DEMO_SOURCES})


target_link_libraries(DemoDbPool
	debug dbpoold optimized dbpool
	debug comnd optimized comn
	${SOCI_LIBRARIES}
	${LIB_PLATFORM}
	)